package com.llmcu.source.java8.java8inaction.chapter12;

import java.time.LocalDate;
import java.time.LocalTime;

/**
 * xxxx
 *
 * @author liuling
 * @date 2024-12-16 13:42
 */
public class ParseDemo {
    public static void main(String[] args) {
        LocalDate localDate = LocalDate.parse("2024-12-16");
        LocalTime localTime = LocalTime.parse("13:43:30");
        System.out.println(localDate);
        System.out.println(localTime);
    }
}
